package STUDENT.TRINHQUANGXUANDUC.OPPS.INHERISTANCE.BAI2;

public class Models {
	public void GetBasicInfo(DongVat obj) {
		System.out.println(obj.getCotai());
		System.out.println(obj.getCoMat());
		System.out.println(obj.getCochan());
		System.out.println(obj.getBietChay());
		System.out.println(obj.getBietNgu());
	}

	public void GetConchoInfo(Concho obj) {
		System.out.println(obj.getCoduoi());
		System.out.println(obj.getBietsua());
		System.out.println(obj.getBietquayduoi());
	}

	public void GetConNguoiInfo(Connguoi obj) {
		System.out.println(obj.getCotay());
		System.out.println(obj.getBietnoi());
		System.out.println(obj.getBietkhieuvu());
	}
}
